Application Notes:

	Windows CE has a limitation of naming device file names with 3 letter Prefix only upto 10. Ex., Com ports 1 to 9 are named as "COM1:" to "COM9:" and if 10th one is needed it could be named as "COM0:" by providing Index=0 at the appropriate port's registry entry. In the essence this legacy naming string can not be more than 5 characters. But, if Index is given just 10, Windows CE names this device file name as "\$device\COM10". So, more than 10 ports can be supported this way. We have used this assumption here. This application opens all the COM ports from 1 to 9 in the old fashioned way like "COMx:" and 9+ ports are opened by "\$device\COMx".

For more details on the above, please also read "Device File Names" section in Windows CE 5.0 Platform Builder Help. (ms-help://MS.WindowsCE.500/wceddk5/html/wce50conDeviceFileNames.htm)